<footer class="footer">
<div class="container">
<p>Copyright &copy; 2019-2020 {$site_info.site_name} Website built with <a href="https://www.kancloud.cn/manual/thinkphp6_0/1037479" target="_blank" title="ThinkPHP6.0">ThinkPHP6.0</a> and <a href="https://v4.bootcss.com/docs" title="BootStrap4" target="_blank">BootStrap4</a> - <a href="http://beian.miit.gov.cn/" title="吉ICP备18002003号" target="_blank">吉ICP备18002003号</a></p>
</div>
<div id="gotop"><a class="gotop"></a></div>
</footer>
<!--微信二维码模态框-->
<!-- <div class="modal fade user-select" id="WeChat" tabindex="-1" role="dialog" aria-labelledby="WeChatModalLabel">
  <div class="modal-dialog" role="document" style="margin-top:120px;max-width:280px;">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="WeChatModalLabel" style="cursor:default;">微信扫一扫</h4>
      </div>
      <div class="modal-body" style="text-align:center"> <img src="__MZBLOG__/images/weixin.jpg" alt="" style="cursor:pointer"/> </div>
    </div>
  </div>
</div> -->
<!--该功能正在日以继夜的开发中-->
<!-- <div class="modal fade user-select" id="areDeveloping" tabindex="-1" role="dialog" aria-labelledby="areDevelopingModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="areDevelopingModalLabel" style="cursor:default;">该功能正在日以继夜的开发中…</h4>
      </div>
      <div class="modal-body">
      	<img src="__MZBLOG__/images/baoman/baoman_01.gif" alt="深思熟虑" />
        <p style="padding:15px 15px 15px 100px; position:absolute; top:15px; cursor:default;">很抱歉，程序猿正在日以继夜的开发此功能，本程序将会在以后的版本中持续完善！</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal">朕已阅</button>
      </div>
    </div>
  </div>
</div> -->
<!--登录注册模态框-->
<!-- <div class="modal fade user-select" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="loginModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="loginModalLabel">游客注册登录</h4>
      </div>
      <div class="modal-body">
        <div class="form-group">
          <label for="loginModalUserNmae">请输入昵称</label>
          <input type="text" class="form-control" id="user_nick" placeholder="请输入昵称" autofocus maxlength="15" autocomplete="off" required>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary" onclick="tourist_login()">登录</button>
      </div>
    </div>
  </div>
</div> -->
<!--右键菜单列表-->
<!-- <div id="rightClickMenu">
  <ul class="list-group rightClickMenuList">
    <li class="list-group-item disabled">欢迎访问{$site_info.site_name}</li>
    <li class="list-group-item"><span>IP：</span>172.16.10.129</li>
    <li class="list-group-item"><span>地址：</span>河南省郑州市</li>
    <li class="list-group-item"><span>系统：</span>Windows10 </li>
    <li class="list-group-item"><span>浏览器：</span>Chrome47</li>
  </ul>
</div> -->
<script src="__MZBLOG__/js/bootstrap.min.js"></script> 
<script src="__MZBLOG__/js/jquery.ias.js"></script> 
<script src="__MZBLOG__/js/scripts.js"></script>
<link rel="stylesheet" href="/static/main/jqueryMy/css/jquery.my-message.1.1.css" />
<script type="text/javascript" src="/static/main/jqueryMy/js/jquery.my-message.1.1.js"></script>
<script>
var message = new MyMessage.message({
  /*默认参数，下面为默认项*/
  iconFontSize: "32px",    //图标大小,默认为20px
  messageFontSize: "24px", //信息字体大小,默认为12px
  showTime: 4000,  //消失时间,默认为3000
  align: "center", //显示的位置类型center,right,left
  positions: {     //放置信息距离周边的距离,默认为10px
    top:   "20px",
    bottom:"10px",
    right: "10px",
    left:  "10px",
  },
});
// 游客登录
// function tourist_login(){
//   $unick = $("#user_nick").val();
//   if($unick==''){ message.add("昵称不能为空哦","error"); return false; }
//   $.post("/login/tourist_login",
//   {
//       unick : $unick,
//   },
//   function(data,status){
//     if(data.state=='success'){
//       message.add(data.info,"success");
//       setTimeout(function(){window.location.reload();},900);
//     }else{
//       message.add(data.info,"error");
//     }
//   }).fail(function () {
//     message.add('error响应，没有进入success',"error");
//   });
// }
</script>
{//********************************************* 添加链接 **************************************************************}
<div id="json_add_hyperlink" class="modal fade" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">添加链接</h4>
      </div>
      <div class="modal-body">
        <div class="input-group">
          <span class="input-group-addon">链接名称</span>
          <input type="text" id="link_data_1"  class="form-control" placeholder="百度知道">
          <span class="input-group-addon">URL名称</span>
        </div>
        <div class="input-group" style="margin:10px auto;">
          <span class="input-group-addon">链接URL</span>
          <input type="text" id="link_data_2"  class="form-control" placeholder="http://www.baidu.com/">
          <span class="input-group-addon">URL网址</span>
        </div>
        <div class="input-group">
          <span class="input-group-addon">链接描述</span>
          <textarea class="form-control" id="link_data_3"></textarea>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" onclick="json_insert_hyperlink()">添加</button>
      </div>
    </div>
  </div>
</div>
<script>
$("a[href='#json_add_hyperlink']").click(function(event) {
  $("#json_add_hyperlink").modal('show');
});
// JSON弹出框添加链接
function json_insert_hyperlink(){
  $data1 = $("#link_data_1").val();
  $data2 = $("#link_data_2").val();
  $data3 = $("#link_data_3").val();
  if($data1==''||$data2==''){
    message.add('标题和URL不能为空','error');
    return false;
  }
  $.post("/link/json_add_hyperlink",
  {
      data1 : $data1,
      data2 : $data2,
      data3 : $data3,
  },
  function(data,status){
    if(data.state=='success'){
      message.add(data.info,'success');
      $("#json_add_hyperlink").modal('hide');
      $("#link_data_1").val('');
      $("#link_data_2").val('');
      $("#link_data_3").val('');
    }else{
      message.add(data.info,'error');
    }
  }).fail(function () {
    alert('error响应，没有进入success');
  });
}
</script>
{//********************************************************************************************************************}